package com.dxysun.design.builder;

public class CourseBuilder
{
    private Course course = new Course();

    public void addName(String name)
    {
        this.course.setName(name);
    }

    public void addPpt(String ppt)
    {
        this.course.setPpt(ppt);
    }

    public void addVideo(String video)
    {
        this.course.setVideo(video);
    }

    public void addNote(String note)
    {
        this.course.setNote(note);
    }

    public void addHomework(String homework)
    {
        this.course.setHomework(homework);
    }

    public Course build()
    {
        return course;
    }
}
